import socket
import sys
import pygame
from game import *

pygame.init()
pygame.display.set_caption('领土之争')
DISPLAYSURF = pygame.display.set_mode((600, 600))
game = Game(DISPLAYSURF)
clock = pygame.time.Clock()

while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

    clock.tick(60)
    pygame.display.update()
